The Contact Display

A contact-display is created by the open-contact-display function. open-contactdisplay has one required argument: a symbol which acts as the name of your program. Technically, this is a resource name which is used to access the values of resources associated with your program. CLUE resource management is explained later in Section [*]. Generally speaking, this program resource name is used to distinguish your program from other application programs that may also be running. open-contact-display has several optional keyword arguments (mainly the same ones used by the CLX open-display function), but the most frequently used is the host, a string which gives the network name for the X server host to which you are connecting.

(setf display
      (open-contact-display
        'blink                    ; Application name
        :host "server-host"))     ; Server host name

contact-display objects are really a subclass of the display data type defined by CLX2.

\framebox[5.5in]{
\hspace*{\fill}
{\bf Note}
\hspace*{\fill}
\parbox[t]{4.5in}{
...
...t can be called with a {\tt
contact-display} argument instead.}
\hspace*{\fill}}

The CLX function close-display should always be used to close the server connection when the program terminates.